<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- QtnRibbonMainWindow.cpp -->
  <title>Qt QtitanRibbon 3.1: RibbonMainWindow Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <script src="./scripts/superfish.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />  <script src="./scripts/narrow.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->
</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
		<div id="narrowsearch"><form onsubmit="return false;" action="" id="qtdocsearch">
		<fieldset>
		<input type="text" value="" id="pageType2" name="searchstring"/>
		 </fieldset>
		</form></div>
    <div id="nav-topright">
      <ul>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Home</a></span></li>
        <li class="shortCut-topleft-inactive"><span><a href="classes.html">All&nbsp;Classes</a></span></li>
        <li class="shortCut-topleft-inactive"><span><a href="overviews.html">Overviews</a></span></li>
      </ul>
</div> <ul class="sf-menu sf-js-enabled sf-shadow" id="narrowmenu"> 
		 <li><a href="#">API Lookup</a> 
			 <ul id="topmenuLook"> 
			   <li><a href="qtitan.html">Qtitan Namespace</a></li> 
			   <li><a href="classes.html">Class index</a></li> 
 			  <li><a href="qtitan.html#functions">Function index</a></li> 
			   </ul> 
		 </li> 
 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="qtitan.html">Qtitan Namespace</a></li>
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="qtitan.html#functions">Function index</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Bread crumbs goes here -->
              <li><a href="modules.html">Modules</a></li>              <li>QtitanRibbon</li>
              <li>RibbonMainWindow</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
          </div>
        </div>
        <div class="content">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">RibbonMainWindow Class Reference</h1>
<span class="small-subtitle">(Qtitan::RibbonMainWindow)<br/></span>
<!-- $$$RibbonMainWindow-brief -->
<p>RibbonMainWindow class represents the main window of the application used to create the Ribbon UI. <a href="#details">More...</a></p>
<!-- @@@RibbonMainWindow -->
<pre class="highlightedCode brush: cpp">    #include &lt;<a href="qtitan.html">Qtitan</a>&gt;</pre><p>Inherits <a href="http://qt.nokia.com/doc/4.7/qmainwindow.html">QMainWindow</a>.</p>
<ul>
<li><a href="qtitan-ribbonmainwindow-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbonmainwindow.html#RibbonMainWindow">RibbonMainWindow</a></b> ( QWidget * <i>parent</i> = Q_NULL, Qt::WindowFlags <i>flags</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbonmainwindow.html#dtor.RibbonMainWindow">~RibbonMainWindow</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonBar * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbonmainwindow.html#ribbonBarx">ribbonBar</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbonmainwindow.html#setRibbonBar">setRibbonBar</a></b> ( RibbonBar * <i>ribbonBar</i> )</td></tr>
</table>
<ul>
<li class="fn">47 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qmainwindow.html#public-functions">QMainWindow</a></li>
<li class="fn">217 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-functions">QWidget</a></li>
<li class="fn">13 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#public-functions">QPaintDevice</a></li>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbonmainwindow.html#paintEvent">paintEvent</a></b> ( QPaintEvent * <i>event</i> )</td></tr>
</table>
<ul>
<li class="fn">2 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qmainwindow.html#protected-functions">QMainWindow</a></li>
<li class="fn">37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">8 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qmainwindow.html#properties">QMainWindow</a></li>
<li class="fn">58 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#properties">QWidget</a></li>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
<li class="fn">2 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qmainwindow.html#public-slots">QMainWindow</a></li>
<li class="fn">19 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-slots">QWidget</a></li>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">2 signals inherited from <a href="http://qt.nokia.com/doc/4.7/qmainwindow.html#signals">QMainWindow</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#signals">QWidget</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#static-public-members">QWidget</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">2 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qmainwindow.html#protected-functions">QMainWindow</a></li>
<li class="fn">37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected slot inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-slots">QWidget</a></li>
<li class="fn">1 protected type inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$RibbonMainWindow-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>RibbonMainWindow class represents the main window of the application used to create the Ribbon UI.</p>
</div>
<!-- @@@RibbonMainWindow -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$RibbonMainWindow[overload1]$$$RibbonMainWindowQWidget*Qt::WindowFlags -->
<h3 class="fn"><a name="RibbonMainWindow"></a>RibbonMainWindow::RibbonMainWindow ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>parent</i> = Q_NULL, <a href="http://qt.nokia.com/doc/4.7/qt.html#WindowFlags-typedef">Qt::WindowFlags</a> <i>flags</i> = 0 )</h3>
<p>Constructs <a href="qtitan-ribbonmainwindow.html">RibbonMainWindow</a> object with the given <i>parent</i> and <i>flags</i>.</p>
<!-- @@@RibbonMainWindow -->
<!-- $$$~RibbonMainWindow[overload1]$$$~RibbonMainWindow -->
<h3 class="fn"><a name="dtor.RibbonMainWindow"></a>RibbonMainWindow::~RibbonMainWindow ()</h3>
<p>Destructor of the <a href="qtitan-ribbonmainwindow.html">RibbonMainWindow</a> object.</p>
<!-- @@@~RibbonMainWindow -->
<!-- $$$paintEvent[overload1]$$$paintEventQPaintEvent* -->
<h3 class="fn"><a name="paintEvent"></a>void RibbonMainWindow::paintEvent ( <a href="http://qt.nokia.com/doc/4.7/qpaintevent.html">QPaintEvent</a> * <i>event</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#paintEvent">QWidget::paintEvent</a>().</p>
<!-- @@@paintEvent -->
<!-- $$$ribbonBar[overload1]$$$ribbonBar -->
<h3 class="fn"><a name="ribbonBarx"></a><a href="qtitan-ribbonbar.html">RibbonBar</a> * RibbonMainWindow::ribbonBar () const</h3>
<p>Returns a pointer to <a href="qtitan-ribbonbar.html">RibbonBar</a> object. If <a href="qtitan-ribbonbar.html">RibbonBar</a> does not exist, then the function will create an empty Ribbon UI panel.</p>
<p>See also <a href="qtitan-ribbonmainwindow.html#setRibbonBar">setRibbonBar</a>().</p>
<!-- @@@ribbonBar -->
<!-- $$$setRibbonBar[overload1]$$$setRibbonBarRibbonBar* -->
<h3 class="fn"><a name="setRibbonBar"></a>void RibbonMainWindow::setRibbonBar ( <a href="qtitan-ribbonbar.html">RibbonBar</a> * <i>ribbonBar</i> )</h3>
<p>Sets the <a href="qtitan-ribbonbar.html">RibbonBar</a> to the main window. Object <a href="qtitan-ribbonmainwindow.html">RibbonMainWindow</a> takes ownership of the <i>ribbonBar</i>. The method is used when needed to set the custom Ribbon Bar object, whose class, inherited from <a href="qtitan-ribbonbar.html">RibbonBar</a>.</p>
<p>See also <a href="qtitan-ribbonmainwindow.html#ribbonBarx">ribbonBar</a>().</p>
<!-- @@@setRibbonBar -->
</div>
        <!-- /div -->
        <div class="feedback t_button">
          </div>
      </div>
    </div>
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2009-2013 Developer Machines<br><br>      Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
      in Finland and/or other countries worldwide.</p>
    <p>
      All other trademarks are property of their respective owners. <a title="Privacy Policy"
        href="http://www.devmachines.com/company/privacy-policy.html">Privacy Policy</a></p>
  </div>
  <div id="blurpage">
  </div>
  <!--/div -->
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17002018-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17002018-1']);
  _gaq.push(['_trackPageview']);
  (function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  </script>
</body>
</html>
